//
//  DescrViewController.h
//  InTheSnow
//
//  Created by di on 7/23/09.
//  Copyright 2009 INTELLECTSOFT. All rights reserved.
//

#import <UIKit/UIKit.h>
@class News;
@class UIBannerImageView;
@interface DescrViewController : UIViewController < UITextViewDelegate >{
	IBOutlet UIScrollView *scroll;
	IBOutlet UIBannerImageView *banner;
	IBOutlet UIImageView *bigImage;
	IBOutlet UITextView *titleNews;
	IBOutlet UITextView *description;
	IBOutlet UILabel *date;
	IBOutlet UILabel *copyright;
	int newsNum;
	bool isFirstD; 
	NSData *dataImg;
	NSURL *imgUrl;
	NSOperationQueue *queueOper;
	NSOperation *loadOperation;
	News *currentNew;
}
@property(nonatomic, assign)News *currentNew;
@property(nonatomic, assign)int newsNum;

@property(nonatomic, retain)IBOutlet UILabel *copyright;
@property(nonatomic, retain)NSURL *imgUrl;
@property(nonatomic, retain)NSData *dataImg;
@property(nonatomic, retain)IBOutlet UILabel *date;
@property(nonatomic, retain)IBOutlet UIScrollView *scroll; 
@property(nonatomic, retain)IBOutlet UIBannerImageView *banner;
@property(nonatomic, retain)IBOutlet UIImageView *bigImage;
@property(nonatomic, retain)IBOutlet UITextView *titleNews;
@property(nonatomic, retain)IBOutlet UITextView *description;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil news:(News*)new_ url:(NSURL*) url;

@end
